package com.example.controller;

import com.demo.utils.ResponseResult;
import com.demo.utils.ResultUtils;
import com.example.dto.ArticleDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/admin")
public class AdminController {

    @GetMapping("/list")
    public ResponseResult list() {
        return ResultUtils.success();
    }

    @GetMapping("/add")
    public ResponseResult add() {
        return ResultUtils.success();
    }

}
